import React, { useEffect } from 'react'
import { getPublicHouseListAPI } from '../../api'

function News() {
  // 查看已发布返房源
  const laodPublicHouseList = async () => {
    const { data: res } = await getPublicHouseListAPI()
    console.log('已发布房源信息', res)
  }

  useEffect(() => {
    laodPublicHouseList()
  }, [])

  return <div>News</div>
}

export default News
